home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Patches 1995 December
/
SGI IRIX Patches 1995 Dec.iso
/
relnotes
/
patchSG0000749
/
ch1.z
/
ch1
Wrap
Text File
|
1995-11-17
|
7KB
|
199 lines
- 1 -
1. _P_a_t_c_h__S_G_0_0_0_0_7_4_9__R_e_l_e_a_s_e__N_o_t_e
This release note describes patch SG0000749 to IRIX ONC3
5.3.
1.1 _S_u_p_p_o_r_t_e_d__H_a_r_d_w_a_r_e__P_l_a_t_f_o_r_m_s
This patch contains bug fixes for all hardware and software
configurations. The software cannot be installed on other
configurations.
1.2 _S_u_p_p_o_r_t_e_d__S_o_f_t_w_a_r_e__P_l_a_t_f_o_r_m_s
This patch contains bug fixes for all hardware and software
configurations. The software cannot be installed on other
configurations.
1.3 _B_u_g_s__F_i_x_e_d__b_y__P_a_t_c_h__S_G_0_0_0_0_7_4_9
This patch contains fixes for the following bugs in IRIX
ONC3 5.3. Bug numbers from Silicon Graphics bug tracking
system are included for reference.
+o Bug report 259761 -- cachefs hangs in sync
Due to a deadlock which can occur when cachefs_fsync is
called with the FSYNC_WAIT flag, cachefs may hang
during a sync operation.
+o Bug report 252778 -- excessive memory use by cachefs
CacheFS excessively allocates kernel memory. Much of
the memory allocated is not returned to the system
until all CacheFS file systems have been unmounted.
This patch changes CacheFS so that it will return
memory to the system by freeing cnode data. This may
be controlled through two tunable parameters:
_m_a_x_c_n_o_d_e_s and _c_a_c_h_e_f_s__m_a_x__l_r_u. The tunable parameter
_m_a_x_c_n_o_d_e_s has been introduced with this patch. It
determines the upper bound for cnode allocation. This
is what might be called a "soft" boundary. CacheFS may
allocate more than this many cnodes, but once the upper
bound has been exceeded, inactive cnodes will be freed.
Tuning should be done by setting _m_a_x_c_n_o_d_e_s and
_c_a_c_h_e_f_s__m_a_x__l_r_u to low values (such as 100 and 10
respectively), with _m_a_x_c_n_o_d_e_s being greater than
_c_a_c_h_e_f_s__m_a_x__l_r_u. These numbers should be increased
until the desired combination of performance and memory
usage is obtained. Note that _m_a_x_c_n_o_d_e_s may be set to
- 2 -
be less than or equal to _c_a_c_h_e_f_s__m_a_x__l_r_u. Doing so
will cause no problems. It will, however, result in
all cnodes not on the lru list being freed (i.e., their
storage returned to the system).
Take care to consider file access patterns when tuning.
Commands such as _d_u(1) and _f_i_n_d(1) will have very
different access patterns from _m_a_k_e(1), _c_c(1) and
_l_d(1).
The above tuning method has been suggested in order
that fragmentation of the kernel heap may be avoided.
This will minimize both the total memory allocated to
the kernel and the amount used by CacheFS. Setting
_m_a_x_c_n_o_d_e_s and _c_a_c_h_e_f_s__m_a_x__l_r_u to higher values and then
lowering them is less effective at keeping kernel
memory usage low. This is because the data allocated
by CacheFS will be distributed throughout a larger heap
area.
1.4 _S_u_b_s_y_s_t_e_m_s__I_n_c_l_u_d_e_d__i_n__P_a_t_c_h__S_G_0_0_0_0_7_4_9
This patch release includes these subsystems:
+o patchSG0000749.onc3_eoe_sw.cachefs
1.5 _I_n_s_t_a_l_l_a_t_i_o_n__I_n_s_t_r_u_c_t_i_o_n_s
Because you want to install only the patches for problems
you have encountered, patch software is not installed by
default. After reading the descriptions of the bugs fixed in
this patch (see Section 1.3), determine the patches that
meet your specific needs.
If, after reading Sections 1.1 and 1.2 of these release
notes, you are unsure whether your hardware and software
meet the requirements for installing a particular patch, run
_i_n_s_t.
Patch software is installed like any other Silicon Graphics
software product. Follow the instructions in your _S_o_f_t_w_a_r_e
_I_n_s_t_a_l_l_a_t_i_o_n _A_d_m_i_n_i_s_t_r_a_t_o_r'_s _G_u_i_d_e to bring up the miniroot
form of the software installation tools.
Follow these steps to select a patch for installation:
1. At the Inst>prompt, type
iiiinnnnssssttttaaaallllllll ppppaaaattttcccchhhhSSSSGGGG_x_x_x_x_x_x_x
- 3 -
where _x_x_x_x_x_x_x is the patch number.
2. Select the desired patches for installation.
3. Initiate the installation sequence. Type
IIIInnnnsssstttt>>>> ggggoooo
4. You may find that two patches have been marked as
incompatible. If this occurs, you must deselect one
of the patches.
IIIInnnnsssstttt>>>> kkkkeeeeeeeepppp ppppaaaattttcccchhhhSSSSGGGG_x_x_x_x_x_x_x
where _x_x_x_x_x_x_x is the patch number.
5. After completing the installation process, exit the
_i_n_s_t program by typing
IIIInnnnsssstttt>>>> qqqquuuuiiiitttt
To remove a patch, use the _v_e_r_s_i_o_n_s _r_e_m_o_v_e command as you
would for any other software subsystem. The removal process
reinstates the original version of software unless you have
specifically removed the patch history from your system.
vvvveeeerrrrssssiiiioooonnnnssss rrrreeeemmmmoooovvvveeee ppppaaaattttcccchhhhSSSSGGGG_x_x_x_x_x_x_x
where _x_x_x_x_x_x_x is the patch number.
To keep a patch but increase your disk space, use the
_v_e_r_s_i_o_n_s _r_e_m_o_v_e_h_i_s_t command to remove the patch history.
vvvveeeerrrrssssiiiioooonnnnssss rrrreeeemmmmoooovvvveeeehhhhiiiisssstttt ppppaaaattttcccchhhhSSSSGGGG_x_x_x_x_x_x_x
where _x_x_x_x_x_x_x is the patch number.